package com.arrogames.rgblabyrinth.game {
	import com.arrogames.rgblabyrinth.storage.Profile;
	import com.arrogames.tmx.StarlingMap;
	/**
	 * ...
	 * @author Robin van den Bogaard
	 */
	public class GameState {
		
		public static const GAMESTATE:String = "GameState_Entity";
		
		private var map:StarlingMap;
		private var profile:Profile;
		
		public function GameState(map:StarlingMap, profile:Profile) {
			this.map = map;
			this.profile = profile;
		}
		
		public function get halfMapWidth():Number {
			return map.width / 2 * map.tileWidth;
		}
		
		public function get tileWidth():Number {
			return map.tileWidth;
		}
		
		public function get tileHeight():Number {
			return map.tileHeight;
		}
		
	}

}